import { Button } from 'antd';
import Contrast from './contrast';
import { testData } from './data';

export default function () {
  const data: any = testData.data;
  console.log(data);

  function log() {
    console.log(data);
  }

  return (
    <div>
      <Button onClick={log}>查看数据</Button>
      <Contrast data={data}></Contrast>
    </div>
  );
}
